package com.ax.api.config.upload.model;

import java.util.Date;

public class YmAttachment {
    /**
     * 流水ID
     */
    private Long attachmentId;

    /**
     * 附件名称
     */
    private String attachmentName;

    /**
     *附件后缀
     */
    private String attachmentSuffix;

    /**
     * url地址
     */
    private String attachmentUrl;

    /**
     * 类型( 1本地服务器 2 oss 3cos 4.文件服务器)
     */
    private String attachmentType;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;

    /**
     * 类型
     */
    private Integer relevanceTpyeDetail;

    public Integer getRelevanceTpyeDetail() {
        return relevanceTpyeDetail;
    }

    public YmAttachment setRelevanceTpyeDetail(Integer relevanceTpyeDetail) {
        this.relevanceTpyeDetail = relevanceTpyeDetail;
        return this;
    }

    public Long getAttachmentId() {
        return attachmentId;
    }

    public void setAttachmentId(Long attachmentId) {
        this.attachmentId = attachmentId;
    }

    public String getAttachmentName() {
        return attachmentName;
    }

    public void setAttachmentName(String attachmentName) {
        this.attachmentName = attachmentName == null ? null : attachmentName.trim();
    }

    public String getAttachmentSuffix() {
        return attachmentSuffix;
    }

    public void setAttachmentSuffix(String attachmentSuffix) {
        this.attachmentSuffix = attachmentSuffix == null ? null : attachmentSuffix.trim();
    }

    public String getAttachmentUrl() {
        return attachmentUrl;
    }

    public void setAttachmentUrl(String attachmentUrl) {
        this.attachmentUrl = attachmentUrl == null ? null : attachmentUrl.trim();
    }

    public String getAttachmentType() {
        return attachmentType;
    }

    public void setAttachmentType(String attachmentType) {
        this.attachmentType = attachmentType == null ? null : attachmentType.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}